package com.uwo.house.controller;

import com.uwo.house.service.IAnniversaryService;
import com.uwo.house.service.IDictionaryService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by cyn1c on 2017/7/24.
 */
public class BaseController {
    public static final String DECORATION = "DECORATION_STYLE";
    public static final String MATERIALCLASS = "MATERIAL_CLASS";

    public static final int DESIGNER_NUMBER = 3;
    public static final int SUPERVISOR_NUMBER = 5;

    @Autowired
    IAnniversaryService AnniversaryService;

    public void addRecord(String recordContent, String userId, String picUrl, String videoUrl) {
        this.AnniversaryService.addRecord(recordContent, userId,picUrl,videoUrl);
    }
}
